package com.open.api.bo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
public class RequestBO implements Serializable {
    @NotBlank(message = "app_id 不能为空！")
    private String app_id;

    @NotBlank(message = "method 不能为空！")
    private String method;

    @NotBlank(message = "version 不能为空！")
    private String version;

    @NotBlank(message = "api_request_id 不能为空！")
    private String api_request_id;

    @NotBlank(message = "charset 不能为空！")
    private String charset;

    @NotBlank(message = "sign_type 不能为空！")
    private String sign_type;


    //@NotBlank(message = "content 不能为空！")
    private String content;

    @NotBlank(message = "sign 不能为空！")
    private String sign;
}
